package com.petshop.customers.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.petshop.common.annotation.Excel;
import com.petshop.common.core.domain.BaseEntity;

/**
 * 顾客信息对象 pet_customers
 * 
 * @author ruoyi
 * @date 2024-09-11
 */
public class PetCustomers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 顾客编号 */
    private Long customerID;

    /** 姓名 */
    @Excel(name = "姓名")
    private String customerName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private String membershipLevel;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDate;

    public void setCustomerID(Long customerID) 
    {
        this.customerID = customerID;
    }

    public Long getCustomerID() 
    {
        return customerID;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMembershipLevel(String membershipLevel) 
    {
        this.membershipLevel = membershipLevel;
    }

    public String getMembershipLevel() 
    {
        return membershipLevel;
    }
    public void setRegistrationDate(Date registrationDate) 
    {
        this.registrationDate = registrationDate;
    }

    public Date getRegistrationDate() 
    {
        return registrationDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerID", getCustomerID())
            .append("customerName", getCustomerName())
            .append("contactInfo", getContactInfo())
            .append("address", getAddress())
            .append("membershipLevel", getMembershipLevel())
            .append("registrationDate", getRegistrationDate())
            .toString();
    }
}
